package com.qianxx.adapter.internal;

import android.view.ViewGroup;

/**
 * Created on 16/5/26 下午2:00.
 *
 * @author binwin20
 */
public interface IViewBindData<DATA,VH> {
    /**
     *
     * @param parent
     * @param viewType
     * @return
     */
    VH onCreate(ViewGroup parent,int viewType);
    void onBind(VH holder, int viewType, int position, DATA item);
}
